import {url,axios} from '.';

export const getTotalLine = async(type) => {
    let res = await axios({
        method:"get",
        url: url + "/totals/line",
        params:{type}
    });
    return res.data;
}

export const getTotalBar = async() => {
    let res = await axios({
        method:"get",
        url: url + "/totals/bar"
    });
    return res.data;
}

export const getTotalRadar = async() => {
    let res = await axios({
        method:"get",
        url: url + "/totals/radar"
    });
    return res.data;
}